package com.hospital.workstation.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 续二表视图对象 electronic_extend_two_info
 *
 * @author whb
 * @date 2024-05-07
 */
@Data
@ExcelIgnoreUnannotated
public class ElectronicExtendTwoInfoVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 监测表id
     */
    @ExcelProperty(value = "监测表id")
    private Long monitorId;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    private Integer serialNumber;

    /**
     * 药品名称（通用名称+剂型）
     */
    @ExcelProperty(value = "药品名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "通=用名称+剂型")
    private String pillsName;

    /**
     * 给药用途
     */
    @ExcelProperty(value = "给药用途")
    private String givePillsPathway;

    /**
     * 用法
     */
    @ExcelProperty(value = "用法")
    private String pillsUsage;

    /**
     * 用量
     */
    @ExcelProperty(value = "用量")
    private String pillsAmount;

    /**
     * 研究结束时
     */
    @ExcelProperty(value = "研究结束时")
    private String endTime;

    /**
     * 给药途径(其它)
     */
    private String givePillsPathwayOther;

    /**
     * 用法(其它)
     */
    private String pillsUsageOther;
}
